home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000147_news@newsmaster….columbia.edu _Wed Apr 30 12:26:32 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA08878
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 30 Apr 1997 12:26:31 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA11187
  7.     for kermit.misc@watsun; Wed, 30 Apr 1997 12:26:30 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Need help capturing text output
  12. Date: 30 Apr 1997 16:26:28 GMT
  13. Organization: Columbia University
  14. Lines: 24
  15. Message-ID: <5k7rrk$ath$1@newsmaster.cc.columbia.edu>
  16. References: <3365C5DB.373053CB@salug.org.au>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:6967
  19.  
  20. In article <3365C5DB.373053CB@salug.org.au>,
  21. Chris Foote  <chris@salug.org.au> wrote:
  22. : I am attempting to get output from a UV meter using Kermit.  This UV
  23. : Meter is connected via serial cable to a modem, and I have a Linux
  24. : box runing Kermit attached to a modem which dials into the UV meter's
  25. : modem.
  26. : I can successfully execute commands on the UV meter in 'CONNECT' mode,
  27. : and my script is almost working - but I don't know how to capture the
  28. : output to a file.
  29. By "output", you mean the dialog between Kermit and the UV meter?
  30.  
  31. : It seems that the 'log xxx' functions weren't designed for this 
  32. : purpose - although I could be wrong :-)
  33. Sure they were.  LOG SESSION does the trick.
  34.  
  35. If you mean something else, there is also a facility (described in the
  36. manual) for creating and writing to arbitrary files: OPEN WRITE, WRITE,
  37. CLOSE WRITE.  You can also use the WRITE command to write arbitrary text
  38. to any open log.
  39.  
  40. - Frank